package ObjectClass

object ApplyTest {
  def main(args: Array[String]): Unit = {
    val myApplyTest = new ApplyTest
    myApplyTest("xxx")
    myApplyTest.apply("aaa")
  }
}

class ApplyTest {
  def apply(Parm: String): Unit = {
    println("apply method called:" + Parm)
  }
}